﻿using System;
using System.Collections.Generic;
using System.Web;
using AMS.DataAccess.Sys.Interfaces;

/// <summary>
/// Summary description for ManagerFactory
/// TODO: replace this class with XML configurations.
/// </summary>
public class ManagerFactory
{
    private ManagerFactory()
    {
    }

 
    public static AMS.DataAccess.Sys.Interfaces.IUserManager CreateUserManager()
    {
        return new AMS.DataAccess.Sys.UserManager();
    }

    public static AMS.DataAccess.Sys.Interfaces.IRoleManager CreateRoleManager()
    {
        return new AMS.DataAccess.Sys.RoleManager();
    }

    public static AMS.DataAccess.Sys.Interfaces.IModuleManager CreateModuleManager()
    {
        return new AMS.DataAccess.Sys.ModuleManager();
    }
    public static AMS.DataAccess.Sys.Interfaces.IFunctionManager CreateFunctionManager()
    {
        return new AMS.DataAccess.Sys.FunctionManager();
    }

}
